package com.aaa.common.vo;

import com.aaa.common.entity.FrontUser;
import com.aaa.common.entity.Product;
import com.aaa.common.entity.ProductReviewImage;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (ProductReview)实体类
 *
 * @author makejava
 * @since 2025-09-16 09:36:37
 */
@Data
public class ProductReviewVO implements Serializable {
    private static final long serialVersionUID = -70079987416794590L;
    /**
     * 评价ID，唯一标识符
     */
    private Integer id;
    /**
     * 商品ID，外键
     */
    private Integer productId;
    /**
     * 用户ID，外键
     */
    private Integer userId;
    /**
     * 评价内容
     */
    private String content;
    /**
     * 评分（1-5）
     */
    private Integer rating;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 商品信息
     */
    private Product product;
    /**
     * 前端用户信息
     */
    private FrontUser frontUser;

    private ProductReviewImage productReviewImage;

    private String reviewType;

    private boolean onlyWithImages;
}
